package principles.demo3.before;

/**
 * @description: 电脑测试类
 **/

public class ComputerDemo {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.setXiJieDisk(new XiJieDisk());
        computer.setInterCpu(new InterCpu());
        computer.setJinShiDunMemory(new JinShiDunMemory());

        computer.run();
    }
}
